FROM openjdk:8-jdk-alpine
RUN  apk update && apk upgrade && apk add netcat-openbsd && echo "Asia/Shanghai" > /etc/timezone;
RUN mkdir -p /usr/local/chhk
ADD chhk-0.0.1.jar /usr/local/chhk
ADD run.sh run.sh
RUN chmod +x run.sh
CMD ./run.sh
